package com.stars.entity.sys;

import com.stars.common.base.BaseUUID;
import com.stars.common.valid.AddView;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author :dj
 * @version : 1.0.0
 * @description
 * @Date 2019-01-21 19:15
 * @note
 */
@Data
public class SystemUserLoginParam extends BaseUUID {

    @NotNull(groups = {AddView.class}, message = "用户名不能为空!!")
    private String userName;
    @NotNull(groups = {AddView.class}, message = "密码不能为空!")
    private String userPassword;

}
